package com.atguigu.gulimall.ware.dao;

import com.atguigu.common.to.SkuHasStockVo;
import com.atguigu.gulimall.ware.entity.WareSkuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 商品库存
 * 
 * @author dengfulong
 * @email dengfulong@gmail.com
 * @date 2021-09-01 17:23:08
 */
@Mapper
public interface WareSkuDao extends BaseMapper<WareSkuEntity> {

    List<SkuHasStockVo> getSkusHashStock(List<Long> skuIds);

}
